Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Question regarding themes
Feedback Type: Question
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Functionality
Platform: ALL
Release: 8.5
Reproducible: Not applicable

hi all,
I have a theme that's loading javascript libraries and css resources; some of those are loaded conditionally, based on the currently used browser client.

Now I would like to extend that and have some info regarding the user browser being displayed in the page header. My idea was to have the page body call a javascript function "onLoad". What I tried so far was building a ViewBody control into my theme, trying to override the "afterPageLoad" event of the XPage. I so far succeeded in overriding various events of buttons (onclick) and edit boxes (onfocus), calling js functions or window.alert methods. But when I try to apply this to the ViewBody afterPageLoad event I receive nothing but but an error 500.

Is this probably the wrong object to treat? Or is it simply not possible to reach the page's onLoad event?

As ever, any hint is welcome


Feedback number WEBB7NWH2G created by ~Justin Zekamanlen on 02/03/2009

Status: Open
Comments:

Question regarding themes (~Justin Zekaman... 3.Feb.09)
. . Probably the wrong object... (~Sanjay Quettum... 3.Feb.09)
. . . . agreed - in a real world scenario (~Justin Zekaman... 3.Feb.09)
. . XPages Theme: onLoad, output script... (~Rex Nonkrolyji... 4.Feb.09)
. . . . Sorry, I don't get it (~Justin Zekaman... 5.Feb.09)
. . . . . . See updated original post for more ... (~Rex Nonkrolyji... 5.Feb.09)
. . . . . . . . Hurray, works - well sort of... (~Justin Zekaman... 6.Feb.09)
. . . . . . . . . . miracle: it's working now (~Justin Zekaman... 9.Feb.09)
. . . . . . . . . . . . dojo.addOnLoad with parameters (~Wendy Ekwether... 13.Feb.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS